function [aa b]=checkoutliner(a,b)
% bound=([0.5,1.5;0,2.5;0,3.5;10,NaN;NaN,200;-20,20;NaN,NaN;NaN,NaN;-20,200;...
%     -50,50;0,NaN;20,80;0,2;-5,5;NaN,NaN;NaN,NaN]);
bound=([0.5,1.5;0,2.5;0,3.5;10,inf;0,60;-inf,200;-20,20;-20,20;...
    -50,50;0,inf;20,80;0,2;-5,5]);
pos=[27 26 28 11 12 17 19 20 21 22 23 24 25];
% bound=[-inf,20;1,6];
% aa=a(:,pos);a_filter=a;
for i=1:13
    posrec=or(a(:,pos(i))<=bound(i,1),a(:,pos(i))>bound(i,2));
    a(posrec,:)=[];
    b(posrec,:)=[];
end
for i=1:size(a,2);
    b(isnan(a(:,i)),:)=[];
    a(isnan(a(:,i)),:)=[];
end
aa=a;
% sma/sma atr sma/sma(volume )'adx 3' 'adx 15' 'stovlk/stovlk' 'roc 3' ....
% 'roc 15' 'roc/roc' 'rsi3' 'rsi15' % 'rsi/rsi' 'macd'